#include "ForwardList.hpp"

int main()
{

    YX::forward_list<int> l;

    l.push_front(1);
    l.push_front(2);
    l.push_front(3);
    l.push_front(4);
    l.push_front(5);

    YX::forward_list<int>::iterator it=l.begin();

    while(it!=l.end())
    {
        std::cout<<*it<<" ";
        ++it;
    }
    std::cout<<std::endl;

    return 0;
}
